package com.hunter.sign.common.constant;

/**
 * Sign系统接口结果常量枚举类
 * Created by hunter on 2017/05/24.
 */
public enum SignResultConstant {

    FAILED(0, "failed"),
    SUCCESS(1, "success"),

    INVALID_FINGERPRINT(10001, "指纹验证失败"),

    INVALID_TOKEN(10002, "Token已失效");

    public int code;

    public String message;

    SignResultConstant(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
